import { http } from '@/utils/http'
type sbid = {
  id: string
}
// 显示是否开启按钮
export const openState = (sbid: string) => {
    return http<sbid>({
      method: 'GET',
      url: `sbxx/openState/${sbid}`,
    })
  }
// 开启电子围栏
export const openElectronicFenceInformation = (sbid: string) => {
  return http<sbid>({
    method: 'GET',
    url: `sbxx/openElectronicFenceInformation/${sbid}`,
  })
}
// 关闭电子围栏
export const closeElectronicFenceInformation = (sbid: string) => {
  return http<sbid>({
    method: 'GET',
    url: `sbxx/closeElectronicFenceInformation/${sbid}`,
  })
}